﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ICeFramework.Utilities.TCPComm
{
    [Serializable]
    public class TCPResponse
    {
        private ServerResponseType _responseType;
        public ServerResponseType ResponseType
        {
            get { return _responseType; }
        }

        private object _responseData;
        public object ResponseData
        {
            get { return _responseData; }
        }

        private ServerResponseStatus _responseStatus;
        public ServerResponseStatus ResponseStatus
        {
            get { return _responseStatus; }
        }

        public TCPResponse(ServerResponseStatus responseStatus, ServerResponseType responseType, object responseData)
        {
            _responseStatus = responseStatus;
            _responseType = responseType;
            _responseData = responseData;
        }
    }
}
